<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <title>vue-aifou</title>
    <style>
      html{
        font-size:100px;
      }
    </style>
  </head>
  <body>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
  <script>
    !function (window, document, undefined) {
            var html = document.documentElement;
            var evt = 'orientationchange' in window ? 'orientationchange' : 'resize';
            var setHtmlFontSize = function () {
                var htmlWidth = html.clientWidth;
                html.style.fontSize = (htmlWidth / 320) * 100 + 'px';
            }
            setHtmlFontSize();
            window.addEventListener(evt, setHtmlFontSize, false);
        }(window, document);  
</script>
</html>
